sh clean.sh
mkdir -p build/bin
bison -d easydiag.y
mv easydiag.tab.h build/easydiag.h
mv easydiag.tab.c build/easydiag.y.c
flex easydiag.lex
mv lex.yy.c build/easydiag.lex.c
gcc -c build/easydiag.lex.c -o build/easydiag.lex.o
gcc -c build/easydiag.y.c -o build/easydiag.y.o -std=c99
gcc -o build/bin/easydiag build/easydiag.lex.o build/easydiag.y.o -ll -lm
echo Build complete. Execing...
./build/bin/easydiag
